home *** CD-ROM | disk | FTP | other *** search
/ il gioco del Kamasutra / Milo Manara Kamasutra.iso / mac / DATA / ParteIII / GameI / Spada.dir / 00040_Script_40 < prev    next >
Text File  |  1997-11-24  |  3KB  |  116 lines

  1. on prepareMovie
  2.   
  3.   global UomoCard1, UomoCard2, UomoCard3, DonnaCard1, DonnaCard2, DonnaCard3, Coppia1, Coppia2, Coppia3, UomoTesto1, UomoTesto2, UomoTesto3, DonnaTesto1, DonnaTesto2, DonnaTesto3, Test1, Test2, Test3, SuperCoppia1, SuperCoppia2, SuperCoppia3, Spada
  4.   
  5.   repeat with n=35 to 40
  6.     set the visible of sprite n to 0
  7.     updatestage
  8.   end repeat
  9.   
  10.   repeat with n=21 to 26
  11.     PuppetSprite n, true
  12.   end repeat
  13.   
  14.   
  15.   If not voidp(UomoCard1) then
  16.     set the member of sprite 21 to UomoCard1
  17.     set the loc of sprite 21 to point(85, 361)
  18.     set the text of member 17 to UomoTesto1
  19.     updatestage
  20.   else
  21.     set the text of member 17 to ""
  22.     updatestage
  23.   end if
  24.   
  25.   If not voidp(UomoCard2) then
  26.     set the member of sprite 22 to UomoCard2
  27.     set the loc of sprite 22 to point(275, 361)
  28.     set the text of member 18 to UomoTesto2
  29.     updatestage
  30.   else
  31.     set the text of member 18 to ""
  32.     updatestage
  33.   end if
  34.   
  35.   If not voidp(UomoCard3) then
  36.     set the member of sprite 23 to UomoCard3
  37.     set the loc of sprite 23 to point(465, 361)
  38.     set the text of member 19 to UomoTesto3
  39.     updatestage
  40.   else
  41.     set the text of member 19 to ""
  42.     updatestage
  43.   end if
  44.   
  45.   If not voidp(DonnaCard1) then
  46.     set the member of sprite 24 to DonnaCard1
  47.     set the loc of sprite 24 to point(172, 361)
  48.     set the text of member 20 to DonnaTesto1
  49.     updatestage
  50.   else
  51.     set the text of member 20 to ""
  52.     updatestage
  53.   end if
  54.   
  55.   If not voidp(DonnaCard2) then
  56.     set the member of sprite 25 to DonnaCard2
  57.     set the loc of sprite 25 to point(362, 361)
  58.     set the text of member 21 to DonnaTesto2
  59.     updatestage
  60.   else
  61.     set the text of member 21 to ""
  62.     updatestage
  63.   end if
  64.   
  65.   If not voidp(DonnaCard3) then
  66.     set the member of sprite 26 to DonnaCard3
  67.     set the loc of sprite 26 to point(552, 361)
  68.     set the text of member 22 to DonnaTesto3
  69.     updatestage
  70.   else
  71.     set the text of member 22 to ""
  72.     updatestage
  73.   end if
  74.   
  75.   if not voidp(UomoCard1) and not voidp(DonnaCard1) then
  76.     if SuperCoppia1 = 1 or SuperCoppia1 = 2 or SuperCoppia1 = 3   then
  77.       puppetsprite 30, true
  78.       set the membernum of sprite 30 to 14
  79.       set Test1=1
  80.       updatestage
  81.     else
  82.       set Test1=0
  83.       set the membernum of sprite 30 to 28
  84.       updatestage
  85.     end if
  86.   end if
  87.   
  88.   
  89.   if not voidp(UomoCard2) and not voidp(DonnaCard2) then
  90.     if SuperCoppia2 = 1 or SuperCoppia2 = 2 or SuperCoppia2 = 3 then
  91.       puppetsprite 31, true
  92.       set the membernum of sprite 31 to 15
  93.       set Test2=1
  94.       updatestage
  95.     else
  96.       set Test2=0
  97.       set the membernum of sprite 31 to 29
  98.       updatestage
  99.     end if
  100.   end if
  101.   
  102.   
  103.   if not voidp(UomoCard3) and not voidp(DonnaCard3) then
  104.     if SuperCoppia3 = 1 or SuperCoppia3 = 2 or SuperCoppia3 = 3 then
  105.       puppetsprite 32, true
  106.       set the membernum of sprite 32 to 16
  107.       set Test3=1
  108.       updatestage
  109.     else
  110.       set Test3=0
  111.       set the membernum of sprite 32 to 30
  112.       updatestage
  113.     end if
  114.   end if
  115.   
  116. end prepareMovie